package com.group.transaction.service.logistics;

import com.alibaba.fastjson.JSONObject;
import com.group.transaction.domain.Logistics;
import com.group.transaction.model.ResultJson;

public interface LogisticsService {
    /**
     * 添加物流
     * @param logistics
     * @return
     */
    ResultJson addLogistics(Logistics logistics);
    /**
     * 查询全部物流
     * @param logistics
     * @return
     */
    JSONObject queryLogisticsAllData(Logistics logistics);

    /**
     * 保存寄件信息
     * @param logistics
     * @return
     */
    ResultJson saveLogisticsData(Logistics logistics);
    /**
     * 查询客户寄的单数
     * @param
     * @return
     */
    ResultJson queryLogisticsCountTotal();
    /**
     * 根据物流id查询物流信息
     * @param
     * @return
     */
    ResultJson queryLogisticsDataById(Long id);
}
